package com.xueyi.system.BaseDestroyRecords.service.impl;

import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import com.xueyi.system.BaseDestroyRecords.domain.dto.BaseDestroyRecordsDto;
import com.xueyi.system.BaseDestroyRecords.domain.query.BaseDestroyRecordsQuery;
import com.xueyi.system.BaseDestroyRecords.manager.IBaseDestroyRecordsManager;
import com.xueyi.system.BaseDestroyRecords.service.IBaseDestroyRecordsService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 销毁记录管理 服务层处理
 *
 * @author xueyi
 */
@Service
public class BaseDestroyRecordsServiceImpl extends BaseServiceImpl<BaseDestroyRecordsQuery, BaseDestroyRecordsDto, IBaseDestroyRecordsManager> implements IBaseDestroyRecordsService {

    /**
     * 查询销毁记录对象列表 | 数据权限 | 附加数据
     *
     * @param baseDestroyRecords 销毁记录对象
     * @return 销毁记录对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BaseDestroyRecordsMapper"})
    public List<BaseDestroyRecordsDto> selectListScope(BaseDestroyRecordsQuery baseDestroyRecords) {
        return baseManager.selectListExtra(baseDestroyRecords);
    }

}
